/*
 * Created on 13.03.2009
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package org.higginsexamples.multiusermail.rcpmail;

import java.util.HashMap;
import java.util.Map;

import org.apache.commons.httpclient.Credentials;
import org.pf.text.StringUtil;

public class XmlsoapAttributesCredentials implements Credentials
{
	private Map<String, String> attributes = new HashMap<String, String>();

	public String getAttribute( String attrName )
	{
		return this.attributes.get( attrName ) ;
	}

	public void setAttribute( String attrName, String value )
	{
		this.attributes.put( attrName, value );
	}

	public String[] getAttrNames()
	{
		return StringUtil.current().asStrings( this.attributes.keySet() );
	}
	
}
